package com.example.demo.request;

import javax.validation.constraints.NotNull;

public class CreateRoutingRuleRequest {
    @NotNull(message = "角色配置ID不能为空")
    private Integer roleConfigId;

    private String roleName; // 角色名（冗余字段，可选，自动填充）

    @NotNull(message = "部门ID不能为空")
    private Integer deptId; // 部门id（冗余字段，方便查询）

    private String deptName; // 部门名称（冗余字段，可选，自动填充）

    @NotNull(message = "字段值不能为空")
    private String fieldValues;

    @NotNull(message = "分配用户不能为空")
    private String assignedUsers;
    
    public Integer getRoleConfigId() {
        return roleConfigId;
    }
    
    public void setRoleConfigId(Integer roleConfigId) {
        this.roleConfigId = roleConfigId;
    }
    
    public String getRoleName() {
        return roleName;
    }
    
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
    
    public Integer getDeptId() {
        return deptId;
    }
    
    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }
    
    public String getDeptName() {
        return deptName;
    }
    
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    
    public String getFieldValues() {
        return fieldValues;
    }
    
    public void setFieldValues(String fieldValues) {
        this.fieldValues = fieldValues;
    }
    
    public String getAssignedUsers() {
        return assignedUsers;
    }
    
    public void setAssignedUsers(String assignedUsers) {
        this.assignedUsers = assignedUsers;
    }
}